package cn.tedu.yhg.good.pojo.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
//实体类字段需多于表字段
public class Good implements Serializable {
    private String type;
    private Long id;
    private String game;
    private String platform;
    private String describe;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date  createTime;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date  updateTime;
    private BigDecimal price;
    private byte[] goodImg;
    private byte[] baseInfoTitleAndSpecific;
    private byte[] details;
}
